import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import layer from 'vue-layer'
import 'vue-layer/lib/vue-layer.css'
import VueLazyLoad from 'vue-lazyload' // 懒加载

Vue.prototype.$layer = layer(Vue)
Vue.config.productionTip = false

//引入第三方插件
import 'reset-css'
Vue.use(VueLazyLoad, {
  error: './img/error.webp', // 加载错误的图片
  loading: './img/localing.gif' // 加载时的图片
})

new Vue({
  router,
  store,
  render: (h) => h(App)
}).$mount('#app')
